package com.yswy.domain.vo.gld.addOrUpate;

import com.yswy.domain.vo.gld.addOrUpate.base.BaseReqVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author 19401
 * @date 2022/6/6 17:09
 **/
@Data
public class SoftnessAddOrUpdate extends BaseReqVO {
    @NotNull(message = "ID不能为空", groups = {UPDATE.class , DElECT.class})
    private Long id;
    @ApiModelProperty("软著")
    @NotEmpty(message = "软著不能为空", groups = {CREATE.class})
    private String softness;
    @ApiModelProperty("软著信用代码")
    @NotEmpty(message = "软著信用代码不能为空", groups = {CREATE.class})
    private String softnessNo;
    @ApiModelProperty("包名")
    @NotEmpty(message = "包名不能为空", groups = {CREATE.class})
    private String packageName;
}
